package my.test.builder;

public class Client3 {

    public static void main(String[] args) {
        Director director = new Director();
        //1万辆A类型的奔驰车
        for (int i = 0; i < 1000; i++) {
            director.getABenzModel().run();
        }

        for (int i = 0; i < 1000; i++) {
            director.getBBenzModel().run();
        }

        for (int i = 0; i < 1000; i++) {
            director.getCBMWModel().run();
        }
    }
}
